#ifndef AT32F415_WEIGEN_H
#define AT32F415_WEIGEN_H

#include "at32f415_conf.h"
#include "at32f415_gpio_driver.h"

void weigen_exint_line_init(void);

void weigen_timer_handler();

void wiegand_decode();

uint8_t get_hid_pid(uint16_t *hid,uint16_t *pid);
#endif
